﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EjercicioI
{
    public abstract class Vehiculo
    {
        protected string Matricula { get; set; }
        protected bool Alquilado { get; set; }

        public abstract void alquilar(int alquiler);        

        public abstract void devolver(int devolucion);

        public abstract void showInfo();

        public Vehiculo(string matric, bool alqui)
        {
            Matricula = matric;
            Alquilado = alqui;
        }
    }
}
